Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(CAT-2130) Pin json to prevent issues #1410

Merged
merged 2 commits into from
Oct 25, 2024
Merged

(CAT-2130) Pin json to prevent issues #1410

merged 2 commits into from
Oct 25, 2024

Conversation

david22swan
Copy link
Member

Failure/Error: require 'json'
ArgumentError:
  wrong number of arguments (given 1, expected 0)

As of the release of json v2.7.3 the above error has been occurring across the entirety of the PDK test environment.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

```
Failure/Error: require 'json'
ArgumentError:
  wrong number of arguments (given 1, expected 0)
```
As of the release of json v2.7.3 the above error has been occurring across the entirety of the PDK test environment.
@david22swan david22swan requested a review from a team as a code owner October 24, 2024 17:41
@david22swan
Copy link
Member Author

ruby/json#646 (comment)
Seems that if both are present they need to be set to the same

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.49%. Comparing base (2d2d7a1) to head (d4bc287).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1410   +/-   ##
=======================================
  Coverage   88.49%   88.49%           
=======================================
  Files         127      127           
  Lines        5320     5320           
=======================================
  Hits         4708     4708           
  Misses        612      612           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pmcmaw pmcmaw changed the title (Bugfix) Pin json to prevent issues (CAT-2130) Pin json to prevent issues Oct 24, 2024
@david22swan
Copy link
Member Author

Associated issue on json: ruby/json#646

@david22swan
Copy link
Member Author

Failures are expected, they are present on main and a followup PR will handle them

@pmcmaw pmcmaw merged commit 66644df into main Oct 25, 2024
8 of 12 checks passed
@pmcmaw pmcmaw deleted the json_pin branch October 25, 2024 08:39
@david22swan david22swan added maintenance Internal maintenance work that shouldn't appear in the changelog and removed bugfix labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Internal maintenance work that shouldn't appear in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants